package Comp355Final.main;

import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;

public class Config {
	private BitmapDrawable org_bm;
	public static final String PREFS_NAME = "SmartTextViewerHKUST";
	private SharedPreferences mysettings;
	public Config(Context parent)
	{
		mysettings = parent.getSharedPreferences(PREFS_NAME, 0);
        org_bm = new BitmapDrawable(BitmapFactory.decodeResource(parent.getResources(), R.drawable.kaede_c2));
        org_bm.setTileModeXY(android.graphics.Shader.TileMode.REPEAT, android.graphics.Shader.TileMode.REPEAT);
        
	}
    public BitmapDrawable return_bg()
    {
    	return org_bm;
    }
   // public String GetDefaultfontColor()
   // {
    	//Utility.return_actualColor(mysettings.getString("DefaultfontColor", BLACK));
    //	return ;
   // }
}
